//
//  EJSCategoryCollectionViewCell.m
//  EnjoyShoppingStreet
//
//  Created by lifayu on 2017/12/14.
//  Copyright © 2017年 lifayu. All rights reserved.
//

#import "EJSCategoryCollectionViewCell.h"
#import "EJSCategoryModel.h"
#import "XOPlatformCategoryModel.h"

@implementation EJSCategoryCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setCategoryModel:(EJSCategoryModel *)model{
    self.categoryNameLabel.text = model.categoryName;
    [self.categoryImageView setImageWithUrl:model.categoryCover];
}
- (void)setPlatformCategoryModel:(XOPlatformCategoryModel *)model{
    self.categoryNameLabel.text = model.sortName;
    [self.categoryImageView setImageWithUrl:model.sortCover];
}

@end
